<!DOCTYPE html>
<ul>
  <li style="background:lime">This list item should have a green background. because its ID is &quot;t1&quot;</li>
  <li style="background:lime">This list item should have a green background. because its ID is &quot;t2&quot;</li>
  <li style="background:lime">This list item should have a green background. because the inner SPAN does not match &quot;#t4&quot;</li>
</ul>
